class CreateRaces < ActiveRecord::Migration
  def self.up
    create_table :races do |t|
      t.column :race_description, :string, :limit => 100, :null => false
      
      t.timestamps
    end
    
    Race.create(:race_description => "White")
    Race.create(:race_description => "Black")
    Race.create(:race_description => "Coloured")
    Race.create(:race_description => "Indian")
    Race.create(:race_description => "Chinese")
  end

  def self.down
    drop_table :races
  end
end
